	<div id="newsnav_wrapper">
		<ul class="newsnav ucase">
			<li class="active"><a href="#"><span>{#PLIGG_Visual_Profile_ModifyProfile#}</span></a></li>
			<li><a href="{$URL_userNoVar}"><span>View My Profile</span></a></li>
			<li><a href="{$my_base_url}{$my_pligg_base}"><span>{#PLIGG_Visual_Published_News#}</span></a></li>
			<li><a href="{$URL_upcoming}"><span>{#PLIGG_Visual_Pligg_Queued#}</span></a></li>			
		</ul>
	</div>
	<div class="box">
		{if $savemsg neq ""}<div class="msg_success">{$savemsg}</div>{/if}
		{checkActionsTpl location="tpl_pligg_profile_info_start"}
		<div class="profile_center">
			{if $UseAvatars neq false &&  $user_avatar_source eq "useruploaded"}			
			<fieldset>
				<legend>{#PLIGG_Visual_Profile_UploadAvatar2#}:</legend>
				<form method="post" enctype="multipart/form-data" name="image_upload_form" action="{$form_action}">
					<input type="file" name="image_file" />
					<input type="hidden" name="avatar" value="uploaded" />
					{$hidden_token_profile_change}
					<input type="submit" value="{#PLIGG_Visual_Profile_AvatarUpload#}" name="action" />
				</form>
			</fieldset>
			{/if}
			<form action="" method="post" id="thisform">
				{$hidden_token_profile_change}
				{if $UseAvatars neq false}
				<fieldset>
					<legend>{#PLIGG_Visual_Profile_CurrentAvatar#}</legend>
					<span id="ls_avatar-large"><img src="{$Avatar_ImgLarge}" alt="Avatar" /></span>
					<span id="ls_avatar-small"><img src="{$Avatar_ImgSmall}" alt="Avatar" /></span>
					<br />
					<input type="radio" name="avatarsource" value="" {if $user_avatar_source eq ""}checked="checked"{/if} /> <span class="radio_pos">{#PLIGG_Visual_Profile_UseDefaultAvatar#}</span><br />
					<input type="radio" name="avatarsource" value="useruploaded" {if $user_avatar_source eq "useruploaded"}checked="checked"{/if} /> <span class="radio_pos">{#PLIGG_Visual_Profile_UploadAvatar#}</span><br />
					<input type="submit" name="save_profile" value="{#PLIGG_Visual_Profile_Save#} Avatar" class="submit_button" />
				</fieldset>
				{/if}
				<fieldset>
					<legend>{#PLIGG_Visual_Profile_ModifyProfile#}</legend>							
					<table cellpadding="0" cellspacing="0">
						{checkActionsTpl location="tpl_profile_center_fields"}
						<tr>
							<td width="30%"><label for="names" class="propercase">{#PLIGG_Visual_Profile_RealName#}:</label></td>
							<td><input type="text" name="names" id="names" tabindex="1" value="{$user_names}" size="40" /></td>
						</tr>
						<tr>
							<td><label for="email" class="propercase">{#PLIGG_Visual_Profile_Email#}:</label></td>
							<td><input type="text" name="email" id="email" tabindex="2" value="{$user_email}" size="40" /></td>
						</tr>
						<tr>
							<td><label for="public_email" class="propercase">{#PLIGG_Visual_User_Profile_PublicEmail#}:</label></td>
							<td><input type="text" name="public_email" id="public_email" tabindex="3" value="{$user_publicemail}" size="40" /></td>
						</tr>
						<tr>
							<td><label for="url">{#PLIGG_Visual_User_Profile_Homepage#}:</label></td>
							<td><input type="text" name="url" id="url" tabindex="4" value="{$user_url}" size="40" /></td>
						</tr>
						<tr>
							<td><label for="location">{#PLIGG_Visual_Profile_Location#}:</label></td>
							<td><input type="text" name="location" id="location" tabindex="5" value="{$user_location}" size="40" /></td>
						</tr>
						<tr>
							<td><label for="occupation">{#PLIGG_Visual_Profile_Occupation#}:</label></td>
							<td><input type="text" name="occupation" id="occupation" tabindex="6" value="{$user_occupation}" size="40" /></td>
						</tr>
						<tr>
							<td><label for="skype">{#PLIGG_Visual_User_Profile_Skype#}:</label></td>
							<td><input type="text" name="skype" id="skype" tabindex="7" value="{$user_skype}" size="40" /></td>
						</tr>
						<tr>
							<td><label for="gtalk">{#PLIGG_Visual_User_Profile_GTalk#}:</label></td>
							<td><input type="text" name="gtalk" id="gtalk" tabindex="8" value="{$user_gtalk}" size="40" /></td>
						</tr>
						<tr>
							<td><label for="aim">{#PLIGG_Visual_User_Profile_AIM#}:</label></td>
							<td><input type="text" name="aim" id="aim" tabindex="9" value="{$user_aim}" size="40" /></td>
						</tr>
						<tr>
							<td><label for="msn">{#PLIGG_Visual_User_Profile_MSN#}:</label></td>
							<td><input type="text" name="msn" id="msn" tabindex="10" value="{$user_msn}" size="40" /></td>
						</tr>
						<tr>
							<td><label for="yahoo">{#PLIGG_Visual_User_Profile_Yahoo#}:</label></td>
							<td><input type="text" name="yahoo" id="yahoo" tabindex="11" value="{$user_yahoo}" size="40" /></td>
						</tr>								
						<tr>
							<td><label for="irc">{#PLIGG_Visual_User_Profile_IRC#}: {#PLIGG_Visual_Profile_IRC_Instruct#}</label></td>
							<td><input type="text" name="irc" id="irc" tabindex="12" value="{$user_irc}" size="40" /></td>
						</tr>
						<tr>
							<td colspan="2" valign="bottom"><br /><strong>{#PLIGG_Visual_Profile_ChangePass#}</strong>.<br /><br /></td>
						</tr>
						<tr>
							<td><label for="oldpassword" class="propercase">{#PLIGG_Visual_Profile_OldPass#}:</label></td>
							<td><input type="password" id="oldpassword" name="oldpassword" tabindex="13" size="40" /></td>
						</tr>
						<tr>
							<td><label for="newpassword" class="propercase">{#PLIGG_Visual_Profile_NewPass#}:</label></td>
							<td><input type="password" id="newpassword" name="newpassword" tabindex="14" size="40" /></td>
						</tr>
						<tr>
							<td><label for="verify" class="propercase">{#PLIGG_Visual_Profile_VerifyNewPass#}: </label></td>
							<td><input type="password" id="verify" name="newpassword2" tabindex="15" size="40" /></td>
						</tr>
						<tr>
							<td>&nbsp;</td>
							<td>
								<input type="hidden" name="process" value="1" />
								<input type="hidden" name="user_id" value="{$user_id}" />
								<input type="submit" name="save_profile" value="{#PLIGG_Visual_Profile_Save#} Profile" class="submit_button" />
							</td>
						</tr>
					</table>
				</fieldset>
			</form>
		</div>
		{checkActionsTpl location="tpl_pligg_profile_end"}
	</div>